<? 
// Set Variable to link clicked or news if undefined
	$nav=$_GET['nav'];
	if (!$nav) {$nav = 'news.php';};
?>

<?	
// Set "news" with appropriate class.
	if ($nav == 'news.php') {echo '<span class="active">';}
	if ($nav == 'gminfo.php') {echo '<span class="inactive">';}
	if ($nav == 'playerinfo.php') {echo '<span class="inactive2">';}
	if ($nav == 'coninfo.php') {echo '<span class="inactive2">';}
?>
<a href="http://loki.local/~plummer/uny-con/index2.php?nav=news.php" title="Convention News">News</span>

<?
//Set "gminfo" with appropriate class.
	if ($nav == 'news.php') {echo '<span class="inactive">';}
	if ($nav == 'gminfo.php') {echo '<span class="active">';}
	if ($nav == 'playerinfo.php') {echo '<span class="inactive">';}
	if ($nav == 'coninfo.php') {echo '<span class="inactive2">';}
?>
<a href="http://loki.local/~plummer/uny-con/index2.php?nav=gminfo.php">GM Info</span>

<?
//Set "playerinfo" with appropriate class.
	if ($nav == 'news.php') {echo '<span class="inactive2">';}
	if ($nav == 'gminfo.php') {echo '<span class="inactive">';}
	if ($nav == 'playerinfo.php') {echo '<span class="active">';}
	if ($nav == 'coninfo.php') {echo '<span class="inactive">';}
?>

<a href="http://loki.local/~plummer/uny-con/index2.php?nav=playerinfo.php">Player Info</span>

<?
//Set "coninfo" with appropriate class.
	if ($nav == 'news.php') {echo '<span class="inactive2">';}
	if ($nav == 'gminfo.php') {echo '<span class="inactive2">';}
	if ($nav == 'playerinfo.php') {echo '<span class="inactive">';}
	if ($nav == 'coninfo.php') {echo '<span class="active">';}
?>

<a href="http://loki.local/~plummer/uny-con/index2.php?nav=coninfo.php">Convention Info</span>